package cn.group.domain;


import java.io.Serializable;

public class SC implements Serializable {
    private Integer id;
    private Student student;
    private Course course;
    private Integer score;

    public SC() {
    }

    public SC(Integer id,Student student, Course course, Integer score) {
        this.id=id;
        this.student = student;
        this.course = course;
        this.score = score;

    }

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    public Course getCourse() {
        return course;
    }

    public void setCourse(Course course) {
        this.course = course;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "SC{" +
                "id=" + id +
                ", student=" + student +
                ", course=" + course +
                ", score=" + score +
                '}';
    }
}
